<?php global $ubi; ?>
<div class="pikachoose">
	<ul id="pikame" class="jcarousel-skin-pika">
    <?php    	
    	if (count($arrRes) > 0) {    		
    		foreach ($arrRes as $res) {
    ?>
    	<li><img src="<?php echo $ubi['SERVER']['RESOURCE_PATH'];?>/<?php echo $res->getResourceName();?>" /></li>
    <?php
    	}
    }
    ?>                                        
    </ul>
</div>

<script type="text/javascript" language="javascript">
	$("#pikame").PikaChoose();

	/*$("#pikame").jcarousel({scroll:4,					
		initCallback: function(carousel) {
			$(carousel.list).find('img').click(function() {
		    	carousel.scroll(parseInt($(this).parents('.jcarousel-item').attr('jcarouselindex')));
			});
		}
	});*/
</script>